﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetaPoco;

namespace BrnMall.Manager.Domain.Distribution
{
    /// <summary>
    /// 佣金发放
    /// </summary>
    [TableName("dis_BrokerageSendRecord")]
    public class BrokerageSendRecord
    {
        public int Id { get; set; }
        /// <summary>
        /// 提现记录ID
        /// </summary>
        // ReSharper disable once InconsistentNaming
        public int BRId { get; set; }
        /// <summary>
        /// 发放金额
        /// </summary>
        public decimal SendAmount { get; set; }
        /// <summary>
        /// 发放状态0,失败，1成功
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 发放人
        /// </summary>
        public int SendUserId { get; set; }
        /// <summary>
        /// 发放人
        /// </summary>
        public string SendUserName { get; set; }
        /// <summary>
        /// 发放时间
        /// </summary>
        public DateTime SendTime { get; set; }
        /// <summary>
        /// 交易流水号
        /// </summary>
        public string TradeNo { get; set; }
        /// <summary>
        /// 交易类型0：微信企业转账99：线下打款
        /// </summary>
        public int TradeType { get; set; }


    }
}
